package com.carleasoft.mps.cms.business.leave.dao;

import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.baomidou.mybatisplus.extension.plugins.pagination.Page;
import com.carleasoft.mps.cms.business.leave.bean.entity.LeaveEntity;
import com.carleasoft.mps.cms.business.leave.bean.po.LeavePo;
import com.carleasoft.mps.cms.business.leave.bean.po.LeaveUserPo;
import com.carleasoft.mps.cms.business.leave.bean.vo.UserListVo;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Param;

import java.util.List;

/**
 * @author: yangHao
 * @createDate:2023/6/3
 * @description:
 */
@Mapper
public interface LeaveMapper extends BaseMapper<LeaveEntity> {
    List<UserListVo> userInfo(@Param("userList") List<String> userList);

    Page<LeaveUserPo> pageQuery(@Param("page") Page page, @Param("po") LeavePo leavePo);
}
